package com.threeonemeeting.model;

// 描述一个用户的基本信息
public class UserInfo implements Cloneable {

	public int nUserId;
	public String strNickName;
	public String strRealName;
	public String strEmail;
	public String strMobile;
	public String strPhone;
	public String strFax;
	public int nIndustry;
	public int nDepartment;
	public int nPosStatus;
	public String	strAddress;
	public String	strZipCode;
	public String	strCompany;
	public boolean	bMale;	//	是否是男生
	public String strCity;
	public String strLastLoginTime;
	public int nCoin; // 金币的数目
	public float fCharge;
	public String strPassword; // 密码

	public void clear() {
		nUserId = 0;
		strNickName = "";
		strRealName = "";
		strEmail = "";
		strLastLoginTime = "";
		nCoin = 0;
		fCharge = 0;
		strCity = "";
		strPassword = "";
		strZipCode = "";
	}

	public UserInfo clone() {
		UserInfo u = null;
		try {
			u = (UserInfo) super.clone();
		} catch (CloneNotSupportedException e) {
			System.out.println(e.toString());
		}

		return u;
	}
}
